
import os
env = Environment()

env['srcroot'] = os.path.abspath('.')
env['objroot'] = os.path.abspath('./build')

srcroot = env['srcroot']
objroot = env['objroot']
env['CCFLAGS'] = '-Wall -g'
env.Append(CPPPATH = ['%s/third_party/include' % objroot, \
                      '%s' % srcroot])
env.Append(LIBPATH = ['%s/third_party/lib' % objroot])

Export('env')

SConscript('base/SConscript', variant_dir = 'build/base', duplicate=0)
SConscript('third_party/SConscript')
